﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UserLogin.ascx.cs" Inherits="UserControls_UserLogin" %>
<link href="../styles/contactsubmit.css" rel="stylesheet" type="text/css" />

<%--UserLogin--%>
<div runat="server" id="divUserLogin" class="table"> 
    <div class="row">
        <div class="header">User Name</div>
    </div>
    <div class="row">
        <div class="content">
            <asp:TextBox runat="server" CssClass="textbox" ID="txtUserName"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ErrorMessage="(*)" ControlToValidate="txtUserName" ForeColor="Red" 
                SetFocusOnError="True"></asp:RequiredFieldValidator>
        </div>
    </div>
    <div class="row">
        <div class="header">Choose a password</div>
    </div>
    <div class="row">
        <div class="content">
            <asp:TextBox runat="server" CssClass="textbox" ID="txtChoosePass" 
                TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                ErrorMessage="(*)" ControlToValidate="txtChoosePass" ForeColor="Red" 
                SetFocusOnError="True"></asp:RequiredFieldValidator>
        </div>
    </div>
    <div class="row">
        <div class="header">Re-enter password</div>
    </div>
    <div class="row">
        <div class="content">
            <asp:TextBox runat="server" CssClass="textbox" ID="txtRePass" 
                TextMode="Password" ControlToValidate="txtRePass"></asp:TextBox>                        
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                ErrorMessage="(*)" ControlToValidate="txtRePass" ForeColor="Red" 
                SetFocusOnError="True" Display="Dynamic"></asp:RequiredFieldValidator>
                <asp:CompareValidator ID="CompareValidator1" runat="server" 
                ErrorMessage="Passwords do not match." ControlToCompare="txtChoosePass" 
                ControlToValidate="txtRePass" ForeColor="Red" SetFocusOnError="True"></asp:CompareValidator>
        </div>
    </div>
</div>
